package com.demo.provider;

import com.demo.bean.CustomerDTO;
import org.springframework.stereotype.Component;

import javax.validation.Valid;

/**
 * CustomerProviderFallback
 *
 * @author liujin
 * @date 2020/11/5 19:43
 */
@Component
public class CustomerProviderFallback implements CustomerProvider {

    @Override
    public String customer(@Valid CustomerDTO dto) {
        return "CustomerProvider customer fallback";
    }


}
